package com.site.blog.my.core.dao;

import com.site.blog.my.core.entity.TbResource;
import com.site.blog.my.core.entity.TbResourceExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbResourceMapper {
    long countByExample(TbResourceExample example);

    int deleteByExample(TbResourceExample example);

    int deleteByPrimaryKey(Integer resourceid);

    int insert(TbResource record);

    int insertSelective(TbResource record);

    List<TbResource> selectByExample(TbResourceExample example);

    TbResource selectByPrimaryKey(Integer resourceid);

    int updateByExampleSelective(@Param("record") TbResource record, @Param("example") TbResourceExample example);

    int updateByExample(@Param("record") TbResource record, @Param("example") TbResourceExample example);

    int updateByPrimaryKeySelective(TbResource record);

    int updateByPrimaryKey(TbResource record);


}